<div id="userInfoContent">
    <div class="user-info-header">
        <!-- 头像区域 - 添加点击上传功能 -->
        <div id="userAvatar" class="user-avatar" onclick="showAvatarUploadModal()">
            用户
            <div class="avatar-upload-tip" style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.6); color: white; text-align: center; padding: 2px 0; font-size: 12px;">点击更换头像</div>
            <input type="file" id="avatarUploadInput" style="display: none;" accept="image/*">
        </div>
        
        <div class="user-basic-info">
            <h2 id="userNickname">用户名</h2>
            <p id="userIntroduction">个人简介</p>
            <button class="btn btn-sm btn-outline" onclick="showEditUserInfoModal()">修改信息</button>
        </div>
        
        <div class="user-coin-info">
            <div class="coin-balance">
                <span class="coin-label">金币余额</span>
                <span id="userCoinBalance" class="coin-amount">0</span>
            </div>
            <button class="btn btn-primary" onclick="showRechargeModal()">充值金币</button>
            <button class="btn btn-outline" onclick="showCoinTransactions()">查看交易记录</button>
            <button class="btn btn-danger" onclick="deleteAccount()" style="margin-top: 10px; width: 100%;">注销账号</button>
        </div>
    </div>
    
    <div class="user-activity-tabs">
        <button class="tab-btn" onclick="showMyQuestions()">我的问题</button>
        <button class="tab-btn" onclick="showMyAnswers()">我的回答</button>
    </div>
    
    <div class="user-activity-content">
        <div id="myQuestionsList" style="display: none;"></div>
        <div id="myAnswersList" style="display: none;"></div>
    </div>
</div>